<?php

namespace App\Http\Controllers\Test;


use App\Http\Controllers\Controller;
use App\Logics\CaptchaLogic;


class CaptchaController extends Controller
{


    // 验证码


    //  查询测试
    // http://www.shop.com/test/captcha/click
    public function click()
    {
        $logic = new CaptchaLogic();
        $res   = $logic->clickCaptcha();

        echo '<img src="'.$res['base64'].'">';

        //return $this->success($res);
    }


}


